<!doctype html>
<html lang="zh-CN">

<head>
    <title>
        #if(C.get('language')=='ch')
            伙伴当局
        #else
            CAAC MOU Partner Authorities
        #end
    </title>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <link rel="shortcut icon" type="image/x-ico" href="favicon.ico" />
    <!-- Bootstrap CSS -->
    #if(C.get('language')=='ch')
    <link rel="stylesheet" href="css/bootstrap.min.css">
    <link rel="stylesheet" href="css/all.min.css">
    <link rel="stylesheet" href="css/style.min.css">
    #else
    <link rel="stylesheet" href="en/css/bootstrap.min.css">
    <link rel="stylesheet" href="en/css/all.min.css">
    <link rel="stylesheet" href="en/css/style.min.css">        
    #end
    
</head>

<body>
    <div class="flex-container">
        <nav class="nav top-nav">
            <div class="container">
                <div class="row">
                   #include("language.html")
                </div>
            </div>
        </nav>
        <header class="masthead mb-auto">
            <div class="inner logo">
                <div class="webtitle">
                    <div class="title-h3 masthead-brand">国产飞机运营伙伴当局信息系统</div>
                    <div class="title-h4">Platform among CAAC MOU Partners for China-Made Aircraft</div>
                </div>
                #if(C.get('language')=='ch')
                    #include("mainnav.html")
                #else
                    #include("mainnav_en.html")
                #end
                <div class="search-form">
                    #include("searchhead.html")
                </div>
            </div>
            
            #if(C.get('language')=='ch')
                #include("menu.html")
            #else
                #include("menu_en.html")
            #end
        </header>
        <div class="container">
            <div class="page-title">
                
                #if(C.get('language')=='ch')
                    伙伴当局
                #else
                    CAAC MOU Partner Authorities
                #end
                
            </div>
            
            #if(C.get("psid"))
                #set(id = C.get("psid"))
              #else
                #partnershipauthoritiesList()
                    #for(entity:partnershipauthoritiesList.list)
                        #set(id = entity.id)
                        #break
                    #end
                  #end
              #end
            
            <div class="row">
                <div class="col-md-3 col-sm-12 left-bar">
                    #partnershipauthoritiesList(pageSize=200)
                    <ul class="list-group list-group-flush">
                        #for(entity:partnershipauthoritiesList.list)
                        
                            <li class="list-group-item">
                                
                                <a href="?psid=#(entity.id)&language=#(C.get('language'))" #if(id.toString() == entity.id.toString()) style="color: red" #end >
                                
                                #if(C.get('language')=='ch')
                                    #(entity.country_name_ch ??)
                                #else
                                    #(entity.country_name_en ??)
                                #end
                                </a>
                            </li>
                        #end
                    </ul>
                    <br/>
                    
                    #end
                    
                    
                </div>
                <div class="col-md-9 col-sm-12 right-list">
                    <nav class="breadcrumb">
                        <a class="breadcrumb-item" href="#if(C.get('language')=='ch') /index_ch #else / #end">
                        #if(C.get('language')=='ch')
                            首页
                        #else
                            Home
                        #end
                        </a>
                        <a class="breadcrumb-item" href="#">
                            
                        #if(C.get('language')=='ch')
                            伙伴当局
                        #else
                            CAAC MOU Partner Authorities
                        #end
                        </a>
                        
                        <span class="breadcrumb-item active">
                        #partnershipauthorities(id = id)
                        #if(C.get('language')=='ch')
                            #(partnershipauthorities.country_name_ch ??)
                        #else
                            #(partnershipauthorities.country_name_en ??)
                        #end
                        #end
                        </span>
                    </nav>
                    
                    
                    <div class="jumbotron jumbotron-fluid" style="background-color: #fff;">
                      <div class="container">
                          
                          #partnershipauthorities(id = id)
                                
                                #if(C.get('language')=='ch')
                                    <div style="text-align: center">
                                        <h3>#(partnershipauthorities.country_name_ch ??)</h3>
                                    </div>
                                    <div>
                                        #(partnershipauthorities.content ??)
                                    </div>
                                    <div>
                                        #(partnershipauthorities.contact_information ??)
                                    </div>
                                #else
                                    <div style="text-align: center">
                                        <h3>#(partnershipauthorities.country_name_en ??)</h3>
                                    </div>
                                    <div>
                                        #(partnershipauthorities.content_en ??)
                                    </div>
                                    <div>
                                        #(partnershipauthorities.contact_information_en ??)
                                    </div>
                                #end
                                
                          #end
                          
                      </div>
                    </div>
                    
                </div>
            </div>
        </div>
    </div>
#include("bottom.html")

    <!-- Optional JavaScript -->
    <!-- jQuery first, then Popper.js, then Bootstrap JS -->
    <script src="js/jquery-3.3.1.min.js"></script>
    <script src="js/popper.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
</body>

</html>